package com.hspedu.spring.bean;


import lombok.Data;

/**
 * @author Charlie
 * @version 1.0
 * @date 28/10/2025 下午8:53
 */

public class Monster {
    String name;
    Integer monsterId;
    String skill;

    public Monster(String name, Integer monsterId, String skill) {
        this.name = name;
        this.monsterId = monsterId;
        this.skill = skill;
    }

    public Monster() {

    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getMonsterId() {
        return monsterId;
    }

    public void setMonsterId(Integer monsterId) {
        this.monsterId = monsterId;
    }

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }

    @Override
    public String toString() {
        return "Monster{" +
                "name='" + name + '\'' +
                ", monsterId=" + monsterId +
                ", skill='" + skill + '\'' +
                '}';
    }
}
